<?phpuse Illuminate\Database\Eloquent\Model;class newsModel extends Model{    protected $table 		= 'news';    protected $primaryKey	= 'id';    protected static $AllFontType = [        1=>'加粗',        2=>'倾斜',        3=>'加粗+倾斜',    ];    protected function serializeDate($date)    {        return $date->format('Y-m-d H:i:s');    }    public function news_content()    {        return $this->hasOne(newscontentModel::class, 'news_id', 'id');    }}